﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title></title>
        <style>
            body {
                font-size: 11px;
                font-family: tahoma;
            }
            
        </style>
        <link href="../qschart/mstar_qs_chart_1.3.css" type="text/css" rel="stylesheet"/>
        <link href="../qschart/chartPanel.css" type="text/css" rel="stylesheet"/>
        <link href="../theme/default/style.css" type="text/css" rel="stylesheet"/>
        <script src="../lib/jquery.js" type="text/javascript">
        </script>
        <script src="../lib/jquery.json.min.js" type="text/javascript">
        </script>
        <script src="../lib/migratory-jslib.js" type="text/javascript">
        </script>
        <!--[if IE]><script type="text/javascript" src="../lib/excanvas.min.js"></script><![endif]-->
        <script src="../qschart/DFmt.us.js" type="text/javascript">
        </script>
        <script src="../js/ui/calendar.js" type="text/javascript">
        </script>
        <style>
            body {
                margin: 0;
                padding: 0
            }
            
            ul, li {
                padding: 0;
                margin: 0
            }
            
            .qs-gd3 .qs-c {
                width: 200px;
            }
            
            .qs-gd3 .qs-main {
                margin-right: -200px;
            }
            
            .qs-gd3 .qs-main .qs-c {
                margin-right: 200px;
            }
			.rtc-ctrl-lb1{
				float:none;
			}
        </style>
    </head>
    <body>
        <script src="../qschart/mstar_qs_chart_1.4.js" type="text/javascript">
        </script>
        <div class="qs-gd3">
            <div class="hd">
            </div>
            <div class="bd">
                <div class="qs-c" style="position:relative;">
                    <div class="rtq-window-setpn rtq-window-setpn-cht">
                        <div class="wrap">
                            <h4>chart setting</h4>
                            <div class="ctn" id="chartSetting">
                            </div>
                        </div>
                        <div class="rtq-window-setpn-ft">
                            <div class="ft-inner">
                            </div>
                        </div>
                    </div>
                </div>
                <div class="qs-main">
                    <div class="qs-c">
                        <div id="chart1" style="position:relative">
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <script>
            var QSCAL = new Util.Calendar($('body'), {}, {});
            GB_autoCompleteBoxDataManager.dataUrls = "../acb.jsp";
            GB_qsAutoCompleteBox.hideAdvacedSearch();// hide the advance search link.
            var debug = true; /// it will get data api in dev server.
            var culture = "en-US";
            var region = "USA";
            var config1 = {
                width: 1075,
                height: 500
            };
            GB_ChartDataManager.dataUrls.intraday = "../quote.jsp?";
            GB_ChartDataManager.dataUrls.historical = "../getStockHistoricalData.jsp?";
            GB_ChartDataManager.dataUrls.fundamental = "../getFundamentalData.jsp?";
            GB_ChartDataManager.dataUrls.minutelyIntraday = "../getMinutelyIntradayData.jsp?";
            var ch1 = new RTChartComponent("XNYS:IBM", region, culture);
            // ch1.setIntrayDataUrl(intradayUrl);
            var setting = document.getElementById("chartSetting");
            ch1.initUIConfig({
                RightMenu: true,
                autoHeight: true,
                Chart: {
                    showPChart: true,
                    showVChart: true,
                    showLegend: true,
                    showTimeSlider: true
                },
                chartCtrl: "rtqPanel",
                settingPanel: setting,
                panel: {
                    showWindow: false,
                    showNote: false
                }
            });
            ch1.Init("chart1", "ch1", config1);
        </script>
    </body>
</html>
